/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author Stupi
 */
public class Breakpoint {
    
    private int breakpoint;
    
    //ovo je ustv ona kolicina proizvodnje q..kao da je x
    public void calculateBreakpoint () {
        breakpoint=fixedCosts/(price-varCosts);
    }

    public int getBreakpoint() {
        return breakpoint;
    }

    public void setBreakpoint(int breakpoint) {
        this.breakpoint = breakpoint;
    }
    
    
    
    
    //fiksni troskovi mrtvi
    private int fixedCosts;
    
    public void setfixedCosts(int fixedCosts){
        this.fixedCosts = fixedCosts;
    }
    
    public int getfixedCosts(){
       return fixedCosts;
    }
    
    
    //varijabilni troskovi
    private int varCosts;
    
    public void setvarCosts(int varCosts){
        this.varCosts = varCosts;
    }
    
    public int getvarCosts(){
       return varCosts;
    }
    
    
    
    //cenica
    private int price;
    
    public void setprice(int setprice){
        this.price = price;
    }
    
    public int getprice(){
        return price;
    }
    
  
}
